import request from '@/utils/request'


export function getConfig(data) {
  return request({
    url: '/api/config/getConfig',
    method: 'get',
    data
  })
}
export function getAdmin(params) {
  return request({
    url: '/admin/index/getAdmin',
    method: 'get',
    params
  })
}
export function addOrUpdateConfig(data) {
  return request({
    url: '/api/config/add_or_update_config',
    method: 'post',
    data
  })
}
